package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by zhangyang on 2018/2/3.
 * 圣代_社区动态_商品_实体
 */
@Entity(value="SundayCommunityDynamicProduct", noClassnameStored=true)
public class SundayCommunityDynamicProduct extends BaseMongoEntity{

    private Long mainId;//社区动态id
    private Long productId;//商品id

    public SundayCommunityDynamicProduct() {

    }

    public SundayCommunityDynamicProduct(Long mainId, Long productId) {
        this.mainId = mainId;
        this.productId = productId;
    }

    public Long getMainId() {
        return mainId;
    }

    public void setMainId(Long mainId) {
        this.mainId = mainId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }
}
